#-*- coding: utf-8 -*-
# Create your views here.
from django.shortcuts import get_object_or_404, render_to_response
from iFriends.People.models import Person
from iFriends.Quotes.models import Quote

def details(request, pID='0' , opts=()):
    rDict={}
    p = get_object_or_404(Person, pk=pID)
    rDict['p'] = p
    quotes = Quote.objects.all()
    rDict['quotes'] = quotes
    return render_to_response('people/person_details.html', rDict)